package com.hoyue.exam.vo.base;

import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author SiMan
 * @date 2019/8/28 0:27
 */
public class PageResultVo {
	private List rows;
	private Long total;
	private PageInfo pageInfo;

	public List getRows() {
		return rows;
	}

	public void setRows(List rows) {
		this.rows = rows;
	}

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}


	public PageInfo getPageInfo() {
		return pageInfo;
	}

	public void setPageInfo(PageInfo pageInfo) {
		this.pageInfo = pageInfo;
	}

	public PageResultVo(List rows ,Long total, PageInfo pageInfo) {
		this.total = total;
		this.rows = rows;
		this.pageInfo = pageInfo;
	}
}
